export default class MyButton {
    constructor(text) {
        this.text = text;
    }

    render() {
        const button = document.createElement('button')
        button.textContent = this.text;
        button.style.cssText = `
            padding: 10px 20px;
            border: 1px solid #ccc;
            border-radius: 5px;`;
        return button;
    }
}
